<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>

        var age = 55;
        var gender = '男';


        var success = (age >= 60 && gender == '男') || (age >= 55 && gender == '女')

        console.log("success", success);


        console.log("true  && true ", (true && true))
        console.log("false  && true ", (false && true))
        console.log("true  && false ", (true && false))
        console.log("false  && false ", (false && false))

        console.log("true  || true ", (true || true))
        console.log("false  || true ", (false || true))
        console.log("true  || false ", (true || false))
        console.log("false  || false ", (false || false))


        console.log("!true ", !true);
        console.log("!false ", !false);
        console.log("!!false ", !!false);









    </script>
</head>

<body>






</body>

</html>